<?php

$sql_select     = "select count(iId) as count from tblnewsletter_email";
$result         = $dbsql->query_fetch($sql_select);
$count_all      = $result['count'];
list($limit_st,$limit_le)	=Slit_Page($count_all);
$sql_select     = "select * from tblnewsletter_email limit $limit_st,$limit_le";
$rs             = $dbsql->query($sql_select);
$emails      = $dbsql->fetch_rows_array($rs);

?>